#!/bin/bash

if [ -z "$1"  ]
then
  echo "请输入链接的IP"
  exit 1;
fi

#echo "链接服务器: "$1

set +e

IPPrefix="192.168.8."
# PASSWD=
IFUSER=ceshi

ssh -o ConnectTimeout=4 -o ConnectionAttempts=5 $IFUSER@$IPPrefix$1

#cd  /usr/local/bin
#sudo chmod 777 ./sshwk 